package com.example.demo.domain;


import javax.xml.crypto.Data;
import java.util.Date;

/**
 * Video
 *
 * @author dmc 2020/7/30 18:58
 * @version 1.0
 */
public class Video {

    private int id;

    private String title;

    private String summary;

    private int price;

    private String coverImg;

    private Date createTime;


    public Video(){}

    public Video(int id,String title){
        this.id = id ;

        this.title = title;

        this.createTime = new Date();

    }


    public int getId(){
        return id;
    }
}
